<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //创建一个元素
        var li = document.createElement("li")

        //创建一个节点
        var li1 = document.createTextNode(" 我家住在黄土高坡哦 ")
        console.log(li,li1);
    </script>
</body>
</html>